package com.yiduo.outpost.core.model.enums;


import com.baomidou.mybatisplus.annotation.IEnum;

public enum PermissionLevel implements IEnum<Integer> {

    /**
     * 导航
     */
    PERMISSION_LEVEL_NAV_BAR(1),

    /**
     * 导航数据权限
     */
    PERMISSION_LEVEL_NAV_BAR_DATA(2),

    /**
     * 二级菜单
     */
    PERMISSION_LEVEL_MENU_BAR(3),

    /**
     * 二级菜单数据权限
     */
    PERMISSION_LEVEL_MENU_BAR_DATA(4),

    /**
     * 操作权限
     */
    PERMISSION_LEVEL_PERMISSION(5);

    private final int value;

    PermissionLevel(int value) {
        this.value = value;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
